package com.sig.player.model;

import com.sig.player.event.PlayerEvent;

/**
 * @author sig
 * @since 2019/2/21
 */
public interface Player {

    /**
     * 唯一编号
     *
     * @return
     */
    long getId();

    /**
     * 派发事件
     *
     * @param event
     * @return
     */
    boolean dispatchEvent(PlayerEvent event);
}
